import { get_global_db_lyric } from '../../../../../../../../../../../Func/get_global_db';
import { req_info_music_lyric_upload } from '../../../Classes/cla_req_info_music_lyric_upload';
import { global_identity_upload_music_lyric } from './Classes/cla_global_identity_upload_music_lyric';

/**
 * 向 global_lyric 身份表 添加 一个信息
 */
export function sign_identity_global_lyric(
  cur_info: req_info_music_lyric_upload
) {
  let mdb_global_lyric = get_global_db_lyric();

  let cur_global_identity_music_lyric = new global_identity_upload_music_lyric(
    cur_info
  );

  mdb_global_lyric.insertOne(cur_global_identity_music_lyric);
}
